﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addincome.aspx.cs" Inherits="App.admin.addincome" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>添加充值记录</title>
    <link href="../css/default.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../css/jquery-ui.css" />
    <script type="text/javascript" src="../javascript/jquery.min.js"></script>
    <script type="text/javascript" src="../javascript/jquery-ui.js"></script>
    <script type="text/javascript" src="../javascript/jquery-ui-slide.min.js"></script>
    <script type="text/javascript" src="../javascript/jquery-ui-timepicker-addon.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#txtIncomeDateTime').datetimepicker();
        });
        function setDefaultDateTime() {
            var ctlStart = this.document.getElementById("txtIncomeDateTime");
            var startDateTime = ctlStart.value;
            var date = new Date();
            var start = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate() + " " + (date.getHours()) + ":" + date.getMinutes() + ":" + date.getSeconds() + "";
            if (!startDateTime) {
                ctlStart.value = start
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin: 10px;">
            <table width="100%" border="0">
                <tr>
                    <td align="left" colspan="4">
                        <asp:Label ID="Label1" runat="server" Text="注：带 <font color=red>*</font> 为必填项！"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="10%">充值日期：<font color="red">*</font></td>
                    <td align="left" width="80%">
                        <input id="txtIncomeDateTime" readonly="readonly" type="text" runat="server" class="newInput" /></td>
                </tr>
                <tr>
                    <td align="right" width="10%">充值成员 ：<font color="red">*</font></td>
                    <td align="left" width="80%">
                        <asp:DropDownList ID="ddlAccount" runat="server"></asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" width="10%">消费金额：<font color="red">*</font></td>
                    <td align="left" width="80%">
                        <asp:TextBox ID="txtIncome" runat="server" class="newInput"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">&nbsp;</td>
                </tr>
                <tr>
                    <td align="right" width="10%"></td>
                    <td align="left" width="80%">
                        <asp:Button ID="btnSubmit" runat="server" Text="提交数据" OnClick="btnSubmit_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
